package org.example;

import org.example.domain.Student;
import org.example.vo.PageVO;

import java.util.List;
import java.util.Map;

public interface StudentService {
    Student selectStudentByMnemonic_code(String mnemonic);
    String saves(List<Student> studentList);

    /**
     *查询班级情况
     * @param map map  中含有 page count   可能有grade  major class_no
     *
     */
    PageVO query(Map<String,Object> map);

    /**
     * 查询班级学生情况
     * @param map
     * @return
     */
    List<Student> queryClassStudent(Map<String,String> map);
    Boolean addStudent(Student student);
    Student editStudentByCode(String code);
    Boolean editSave(Student student);
    void deleteClass(String className);
    void deleteClassStudent(String studentInfo);
    String selectStudentCode(String classInfo,String excludeStudentCode);
    String selectClassAllStudentCode(String classInfo);
    String selectClassAllStudentId(String classInfo);
    int selectClassStudentTotalNumber(String classInfo);
    List<Student> selectStudentByNameAndCode(List<String> studentsInfo);
    int judgeClassExist(String classInfo);
    List<Student> selectStudentByClassInfo(String classInfo);
    List<Student> selectStudentByCodes(List<String> codes);
    List<Student> selectNoneExistStudentByCodes(String className,List<String> codes);
    List<Student> selectStudentByIds(List<Long> ids);
    String selectIdsByCodes(List<String> codes);
}
